﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Job.Web.Index" %>

<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" runat="server">    
<table width="980" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td><a href="/Item.aspx?categoryid=12&subjectid=121"><img src="images/banner01.jpg" width="217" height="100" border="0" /></a></td>
    <td width="762" rowspan="2"><img src="images/banner03.jpg" width="762" height="201" /></td>
  </tr>
  <tr>
    <td><a href="/Item.aspx?categoryid=12&subjectid=124"><img src="images/banner02.jpg" width="217" height="100"  border="0"/></a></td>
  </tr>
</table>
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0" id="msgTable" runat="server">
    <tr>
        <td id="message" runat="server" class="msgTD" align="left"></td>
    </tr>
</table>
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="222" valign="top" style="padding:10px 0 15px 0"><table width="217" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center" bgcolor="758386" class="white b" style="padding:2px 0 0 0">个人用户登录</td>
      </tr>
      <tr>
        <td background="images/bg01.jpg" style="padding:10px 0 0 0"><table border="0" align="center" cellpadding="3" cellspacing="0">
          <tr>
            <td>用户名：</td>
            <td colspan="2"><asp:TextBox ID="tbUserName" runat="server" Width="120px" /></td>
          </tr>
          <tr>
            <td>密　码：</td>
            <td colspan="2"><asp:TextBox ID="tbUserPassword" runat="server" Width="120px" TextMode="Password" /></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td>
                <asp:ImageButton runat="server" ID="btUserLogin" 
                    ImageUrl="images/login_menu01.jpg" BorderStyle="None" Width="33" Height="17" onclick="btUserLogin_Click" /> 
                <a href="Person/PersonRegister.aspx?categoryid=1"><img src="images/login_menu02.jpg" width="33" height="17" border="0" /></a>
            </td>
            <td><a href="Person/PersonManager.aspx?categoryid=1&reset=true" class="red3">忘记密码？</a></td>
          </tr>

        </table>          </td>
      </tr>
      <tr>
        <td bgcolor="#FFFFFF"><img src="images/icon05.jpg" width="217" height="6" /></td>
      </tr>
    </table>
      <table width="217" border="0" cellpadding="0" cellspacing="0" style="margin:8px 0 0 0">
        <tr>
          <td align="center" bgcolor="758386" class="white b" style="padding:2px 0 0 0">企业用户登录</td>
        </tr>
        <tr>
          <td background="images/bg01.jpg" style="padding:10px 0 0 0"><table border="0" align="center" cellpadding="3" cellspacing="0">
              <tr>
                <td>用户名：</td>
                <td colspan="2"><asp:TextBox ID="tbCompanyName" runat="server" Width="120px" /></td>
              </tr>
              <tr>
                <td>密　码：</td>
                <td colspan="2"><asp:TextBox ID="tbCompanyPassword" runat="server" Width="120px" TextMode="Password" /></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td>
                    <asp:ImageButton runat="server" ID="btCompangLogin" 
                    ImageUrl="images/login_menu01.jpg" BorderStyle="None" Width="33" Height="17" 
                        onclick="btCompangLogin_Click"/> 
                    <a href="Company/CompanyRegister.aspx?categoryid=2"><img src="images/login_menu02.jpg" width="33" height="17" border="0" /></a>
                </td>
                <td><a href="Company/CompanyManager.aspx?categoryid=2&reset=2" class="red3">忘记密码？</a></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td bgcolor="#FFFFFF"><img src="images/icon05.jpg" width="217" height="6" /></td>
        </tr>
      </table></td>
    <td width="526" valign="top" style="padding:10px 0 0 0"><table width="516" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 0 5px 0">
      <tr>
        <td width="25" height="19" align="right" bgcolor="28156F"><img src="images/icon02.jpg" width="18" height="19" /></td>
        <td width="423" align="left" bgcolor="28156F" class="white b" style="padding:2px 0 0 0">最新猎头职位</td>
        <td width="49" bgcolor="28156F" class="white" style="padding:2px 0 0 0"><a href="/Item.aspx?categoryid=11&subjectid=111" class="white">更多内容</a></td>
        <td width="19" bgcolor="28156F"><img src="images/icon03.gif" width="9" height="11" /></td>
      </tr>
    </table>
    <table  width="516" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr  class="bule b">
          <td height="30" align="center">行 业</td>
          <td align="center">职 位</td>
          <td align="center">年 薪</td>
          <td align="center">工作地点</td>
        </tr> 
    </table>
    <table  width="516" border="0" align="center" cellpadding="0" cellspacing="0">
       <tr>
        <td height="190" align="left">
          <div id="qnhy" style="OVERFLOW: hidden; WIDTH: 100%; COLOR: #000000; HEIGHT: 190px">
            <div id="qnhy1"> 
                            
                <asp:DataList ID="jobList" runat="server" AlternatingItemStyle-HorizontalAlign="Center" onitemdatabound="jobList_ItemDataBound" Width="516" BorderWidth="0" CellPadding="3" CellSpacing="0">
                    <ItemTemplate>
                        <tr>
                          <td align="center" width="25%">
                            <asp:Label ID="lbIndustry" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"industry")%>'></asp:Label>
                          </td>
                          <td align="left" width="25%">
                            <asp:HyperLink ID="jobLink" runat="server"  CssClass="a3"
                                Text='<%#DataBinder.Eval(Container.DataItem,"name") %>' 
                                NavigateUrl='<%#DataBinder.Eval(Container.DataItem, "job_id")%>'>
                            </asp:HyperLink>                                    
                            <asp:Label ID="lbNo" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"job_no")%>'></asp:Label>                                                      
                      
                          </td>
                          <td align="left"  width="25%">
                            <asp:Label ID="lbSalary" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"salary")%>'></asp:Label>
                          </td>
                          <td align="left"  width="25%"s>
                            <asp:Label ID="lbWorkAddr" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"office_address")%>'></asp:Label>
                          </td>
                        </tr>
                                
                    </ItemTemplate>
                 </asp:DataList>  
            </div>
            <div id="qnhy2"></div>
          </div>
		         <script>
                  var speed=50
                  qnhy2.innerHTML=qnhy1.innerHTML
                  function MarqueeQnhy(){
                    if(qnhy2.offsetTop-qnhy.scrollTop<=0) {
                       qnhy.scrollTop-=qnhy1.offsetHeight
                    }else{
                       qnhy.scrollTop++
                    }
                  }
                  var MyMar=setInterval(MarqueeQnhy,speed)
                  qnhy.onmouseover=function() {clearInterval(MyMar)}
                  qnhy.onmouseout=function() {MyMar=setInterval(MarqueeQnhy,speed)}
		         </script>			         
         </td>
       </tr>
     </table>         
            
    </td>
    <td width="232" valign="top" style="padding:10px 0 0 0"><table width="227" border="0" align="right" cellpadding="0" cellspacing="0">
      <tr>
        <td width="25" align="right" bgcolor="758386"><img src="images/icon04.jpg" width="18" height="19" /></td>
        <td width="133" align="left" bgcolor="758386" class="white b" style="padding:2px 0 0 0"><span class="white b" style="padding:2px 0 0 0">无忧快讯</span></td>
        <td width="49" bgcolor="758386" style="padding:2px 0 0 0">            
            <asp:HyperLink runat="server" ID="moreNews" CssClass="white" Text="更多内容" NavigateUrl="Item.aspx?categoryid=10&subjectid=104"></asp:HyperLink>            
        </td>
        <td width="20" bgcolor="758386" class="white b" style="padding:2px 0 0 0"><span class="white"><img src="images/icon03.gif" width="9" height="11" /></span></td>
      </tr>
      <tr>
        <td colspan="4" background="images/bg02.jpg" style="padding:5px 0 5px 0">
           
            <!--table width="" border="0" align="center" cellpadding="0" cellspacing="0" class="row28"-->
          
            <asp:DataList ID="newsList" runat="server" BorderWidth="0" CssClass="row28" CellPadding="0" CellSpacing="0"
                onitemdatabound="newsList_ItemDataBound" Width="95%">
                <ItemTemplate>
                      <tr>
                        <td width="6%"><img src="images/icon07.jpg" width="9" height="9" /></td>
                        <td width="94%" background="images/bg03.jpg" align="left">&nbsp;&nbsp;
                            <asp:HyperLink ID="newsLink" runat="server"  CssClass="a6"
                                Text='<%#DataBinder.Eval(Container.DataItem,"title") %>' 
                                NavigateUrl='<%#DataBinder.Eval(Container.DataItem, "content_id")%>'>
                            </asp:HyperLink>
                            <asp:Label ID="newsId" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"content_id")%>'></asp:Label>
                            <asp:Label ID="subjectId" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"subject_id")%>'></asp:Label>
                                                                
                        </td>
                      </tr>                                     
                </ItemTemplate>
            </asp:DataList>                                  
          
          
        </td>
      </tr>
      <tr>
        <td colspan="4" align="right"><img src="images/icon06.jpg" width="227" height="6" /></td>
        </tr>
      
    </table></td>
  </tr>
</table>
<table width="980" height="200" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F6F6F6">
  <tr>
    <td width="322"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 0 5px 0">
      <tr>
        <td width="5%" align="right"><img src="images/icon08.jpg" width="13" height="14" /></td>
        <td width="73%" align="left" class="green b" style="padding:2px 0 0 0">HR频道</td>
        <td width="17%" class="white" style="padding:2px 0 0 0">
          <asp:HyperLink runat="server" ID="moreHR" Text="更多内容" NavigateUrl="Item.aspx?categoryid=10&subjectid=106"></asp:HyperLink>
        </td>
        <td width="5%"><img src="images/icon11.jpg" width="9" height="11" /></td>
      </tr>
    </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 0 10px 0">
        <tr>
          <td width="97"><img src="images/temp_img01.jpg" width="97" height="74" /></td>
          <td style="padding:0 0 0 10px" align="left">
            <asp:HyperLink ID="hr1LinkA" runat="server" CssClass="green"></asp:HyperLink><br />
　　        <asp:Label ID="hr1Text" runat="server"></asp:Label><br /><asp:HyperLink ID="hr1LinkB" runat="server" CssClass="green">[阅读全文]</asp:HyperLink>
          </td>
        </tr>
      </table>      
        <asp:DataList ID="hrList" runat="server" OnItemDataBound="hrList_ItemDataBound" Width="95%" 
            BorderWidth="0" CellPadding="0" CellSpacing="0" AlternatingItemStyle-HorizontalAlign="Center" CssClass="row22" >
            <ItemTemplate>                
                <tr>
                  <td width="4%"><img src="images/icon12.jpg" width="9" height="9" /></td>
                  <td width="96%" align="left">&nbsp;&nbsp;
                     <asp:HyperLink ID="hrLink" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"title") %>'
                            NavigateUrl='<%#DataBinder.Eval(Container.DataItem, "content_id")%>'>
                     </asp:HyperLink>
                     <asp:Label ID="hrId" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"content_id")%>'></asp:Label>
                     <asp:Label ID="subjectId" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"subject_id")%>'></asp:Label>
                  
                  </td>
                </tr>                
            </ItemTemplate>
        </asp:DataList>      
      
    </td>
    <td><img src="images/bg04.jpg" width="7" height="159" /></td>
    <td width="322"ss><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 0 5px 0">
      <tr>
        <td width="5%" align="right"><img src="images/icon09.jpg" width="13" height="14" /></td>
        <td width="73%" align="left" class="yellow b" style="padding:2px 0 0 0">管理资讯</td>
        <td width="17%" class="white" style="padding:2px 0 0 0">
          <asp:HyperLink runat="server" ID="moreManager" Text="更多内容" NavigateUrl="Item.aspx?categoryid=10&subjectid=108"></asp:HyperLink>
        </td>
        <td width="5%"><img src="images/icon11.jpg" width="9" height="11" /></td>
      </tr>
    </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 0 10px 0">
        <tr>
          <td width="97"><img src="images/temp_img02.jpg" width="97" height="74" /></td>
          <td style="padding:0 0 0 10px" align="left">
            <asp:HyperLink ID="manage1LinkA" runat="server" CssClass="yellow2"></asp:HyperLink><br />
            <asp:Label ID="manage1Text" runat="server"></asp:Label><br />
            <asp:HyperLink ID="manage1LinkB" runat="server" CssClass="yellow2">[阅读全文]</asp:HyperLink>
          </td>
        </tr>
      </table>
        <asp:DataList ID="managerList" runat="server" OnItemDataBound="managerList_ItemDataBound" Width="95%" 
            BorderWidth="0" CellPadding="0" CellSpacing="0" AlternatingItemStyle-HorizontalAlign="Center" CssClass="row22" >        
            <ItemTemplate>
                <tr>
                    <td width="4%"><img src="images/icon13.jpg" width="9" height="9" /></td>
                    <td width="96%" align="left">&nbsp;&nbsp;
                        <asp:HyperLink ID="managerLink" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"title") %>'
                            NavigateUrl='<%#DataBinder.Eval(Container.DataItem, "content_id")%>'>
                        </asp:HyperLink>
                        <asp:Label ID="managerId" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"content_id")%>'></asp:Label>
                        <asp:Label ID="subjectId" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"subject_id")%>'></asp:Label>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:DataList>
    </td>
    <td><img src="images/bg04.jpg" width="7" height="159" /></td>
    <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 0 5px 0">
      <tr>
        <td width="5%" align="right"><img src="images/icon10.jpg" width="13" height="14" /></td>
        <td width="73%" align="left" class="yellow2 b" style="padding:2px 0 0 0">行业动态</td>
        <td width="17%" class="white" style="padding:2px 0 0 0">
            <asp:HyperLink runat="server" ID="moreIndustry" Text="更多内容" NavigateUrl="Item.aspx?categoryid=10&subjectid=301"></asp:HyperLink>
        </td>
        <td width="5%"><img src="images/icon11.jpg" width="9" height="11" /></td>
      </tr>
    </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 0 10px 0">
        <tr>
          <td width="97"><img src="images/temp_img03.jpg" width="97" height="74" /></td>
          <td style="padding:0 0 0 10px" align="left">
            <asp:HyperLink ID="industry1LinkA" runat="server" CssClass="yellow"></asp:HyperLink><br />
            <asp:Label ID="industry1Text" runat="server"></asp:Label><br /><asp:HyperLink ID="industry1LinkB" runat="server" CssClass="yellow">[阅读全文]</asp:HyperLink>
          </td>
        </tr>
      </table>
      <asp:DataList ID="industryList" runat="server" OnItemDataBound="industryList_ItemDataBound" Width="95%" 
            BorderWidth="0" CellPadding="0" CellSpacing="0" AlternatingItemStyle-HorizontalAlign="Center" CssClass="row22" >  
        <ItemTemplate>  
            <tr>
              <td width="4%"><img src="images/icon14.jpg" width="9" height="9" /></td>
              <td width="96%" align="left">&nbsp;&nbsp;
                <asp:HyperLink ID="industryLink" runat="server" CssClass="a6" Text='<%#DataBinder.Eval(Container.DataItem,"title") %>'
                        NavigateUrl='<%#DataBinder.Eval(Container.DataItem, "content_id")%>'>
                </asp:HyperLink>
                <asp:Label ID="industryId" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"content_id")%>'></asp:Label>
                <asp:Label ID="subjectId" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"subject_id")%>'></asp:Label>                   
              </td>
            </tr>
         </ItemTemplate>
      </asp:DataList>
    </td>
  </tr>
</table>

</asp:Content>
